package com.itheima.d1_inner_class1;
//成员内部类
public class Person {
    public  int age = 10;
    //成员内部类类似于成员变量和成员方法，属于对象，用对象调用
    public class YaoZi{
        int age = 20;
        public   void test(){
            int age = 30;
            System.out.println(age);//30
            System.out.println(this.age);//20
            System.out.println(Person.this.age);//10
        }



    }
}
